fix some bugs on phone viewport