updated gallery thumb position