random walk fixed and now when the mobile hits a wall it stops and chooses a new direction