Implemented Screen rotation and collision detection