Fix API Sidebar bug with currently selected section