change the location of boxes