fix toolbar init on page load
attempt to fix state restore on browser back