Remove arbitrary sleeps, fire stop_fps when touchend is fired

The 'Browser' test code needs that last switch_to_frame call. If we don't switch_to_frame, then we don't have access to the fps attribute we attached to the system app's window. We don't know this is the case yet.