created image gallery using viewpager (adapter support)