Fixes sidebar, switch button and applying function menu active to example panel