visual cleanup, added popstate detection/handling for nav buttons