fixed gingerbread compatibility, added viewpager