Changes position of buttonson templates