Refactored step navigation UI and javascript controls.