Don't always adjust the sidebar

When navbar_fixed_top is not set to true, there shouldn't be any Javascript updating it's position.
Changed to single line conditional.
Switch to tobool