CSS class adding; might have broken transitions