changed ease function for custom action