moved pagination outside of row