Update to pagination to handle responsive views