Center active slide when switching between modes, and some comments.