Added navbar function to collapse when sceensize low