always pin calendar to the top of the nearest month when scroll ends