subclass UIMotionEffect to remove duplication