State change engine

Worked out some bugs in the functionality for changing the states.

This site will be pretty weird to a user who has their javascript
disabled.

Have to come up with an alternative for those users.

For the time being and users with js enabled… pretty cool bootstrap.