slide to switch display mode between month and weekly