fixed the jumping when clicking nav items