Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Go to
Tools > Options
Expand "Projects And Solutions"
Check "Track Active item in Solution Explorer"