removeViewControllerAtPosition: bug

Solved a bug preventing the deletion of the last page.