added home button and tied to history.js