Added more functionality and movement for ios.

The movement is not fully done.