Implemented the  movement of carpet image.