fix header rendering on mobile devices

Some small changes that makes the header of the calendar look better on mobile devices, I tested on Android and iPhone.