updated for smoother transitions and title focusing