Made CSS transitions optional