added the selection rect, and turned off the accelerometer & compas