bugfix in transition. support for all browsers