fixed viewpager contents did not automatically change bug