fix render of calendar block on mobile