Changes: using css property transition for handling transition

Changes: using css property transition for handling transition