Fix a bug with the timing of the side menu slider.