Animate transition to anchor links