fixes issue where scrolling backwards doesnt snap to the nearest month