switched to using fragments instead of viewflipper