Make the escape key return to previous page from the expanded view

As the title says :+1: 

- Makes the "escape" key return to previous page, from any page

#16