Implement ScriptFragmentPagerAdapter's getItemPosition and destroyItem.

This improves the pager performance dramatically.
Some Idea magic.