update animation of NavigationBar and TOC View / Speed Up JS Events