How to prevent calendar from cutting off?