fixed incorrect page when open file
Merge pull request #2 from anthonylau/master

fixed incorrect page when open file