moveTo method changes

-removed direction var
-using positive and negative values for direction now