Collapse moveTowardsPixel

The 8 helper functions for moving 8 directions were collapsed into
moveTowardsPixel. Also, put in code to allow standing still.