draw rectangles on both view