added buttons and viewflipper