Smooth navigation for Single Page Apps