Added variable direction and changed setter

It is extremely curious as to why there is a setter for direction that
sets position but no getter for it.