added CSS transitions