Changes for smooth view transition added

Changes for smooth view transition added