center image on top and fix pagination buttons