gallery boxes messed up