They do that when not properly acclimated to new lights if they are brighter than what they are used to. It will move around until it is happy...just make sure it isn't happy in a place where it doesn't end up killing itself with no light, they dont have a brain remember. If it stays there for days and doesn't lean out for light turn the rock over some.