Working with calendar pagination