Force sidebar to reescale with js