If it's moving around, it's because it can't find a suitable habitat. This might be really stressing it out. If it was stationary for a while and then started moving, probably something in the flow or light changed.