Preventing calendar from being displayed on mobile