title: Movable UIButtons
body: <p><strong>Scenario</strong>:
  There is an UIView as a sub view of a UIScrollView and there is a UIImageView as a sub view of the UIView.</p>
  
  <p><strong>Requirement</strong>:
  When the user touches on the UIImageView I want to add a UIButton as a sub view at that touch point. Any amount of UIButtons could be added (Within the UIImageView frame). These UIButtons should also be movable inside the UIImageView frame.</p>
  
  <p><strong>What I have done</strong>
  I have sub classed the UIView and I'm detecting touches using methods touchesBegan, touchesMoved, touchesEnded and adding UIButtons. UIButtons are added with UIGestureRecognizers with a method implemented to the pan gesture.</p>
  
  <p><strong>Problem</strong>
  When I add more than one button the earlier ones becomes non-movable and doesn't even recognise touch up inside.</p>