Fix sidebar moving to work on browser resize