css magic for transition,sometimes can help