toggle class and transition fixed