Animate open/close sidebar

Only set active tab if no hash in the url