Fixing issues with timing and animation styles;