Adds wrapper for pagination links and hides them on small devices