A simple category on UIView to perform a vertical or horizontal shake animation.