Merge pull request #21 from miller/master

add testcases for GlobalView
Merge pull request #22 from miller/master

modify subpage switch events
Merge pull request #23 from miller/master

update testcases
Merge pull request #24 from miller/master

bug fixed
Merge pull request #12 from xspider/master

sync master