Added script to collapse sidebar menu while jumping