Fix to sidebar falling off screen'