yeoman added to project. parts of the next/back click events abstracted into functions.