removes previous and next links from calendar when there isn't a previous month