box sizing for pagination