Fix the top navbar and route auto scroll