Implemented reverse and infinite moving