Add previous button to play view

Can now return to main menu by clicking previous image
Fix issues with view stack
previous view button click grows main menu to 100% other views 90%
refactoring to main.js
Add titles to views in html
Add prerequisites for textillate