Added an option to disable CSS transitions