Added support for swipe. Added scroll animation.