Removing inline styles after transition is complete.