Move "active" class when tab changes, fixes #16

Also fix bug where clicking home would reload due to missing trailing slash.