merged grow and shrink rects with gesture controls