UIView subclass that bends its edges when its position changes.