adjust gallery.php to center