added hit detection on rects, added programatic zooming