update template, make gallery go in circles