fix pan back bug, when there is no screenshot for the previous view controller.
fix.