handle disabling go to previous or next month