Check and make sure the stack has views in it before popping

Fixes #8 (hopefully)
Merge pull request #21 from devgeeks/issue-8-backbutton-popping-empty-stack

Issue 8 - Every once in a while, hitting back clears the view stack