changed to fragments and viewpager