scroll behavior for title and nav