basic implementation of viewpager