Swift example of dragging around a UIView with optional snap