minor changes
limits movement to size of map