style calendar pagination for small screens