PIM-2557 Fix grid pagination display on small screens