Optimization: Removed the use of '.transition' css class