Add viewpager, and delete some unused code and res