Switch between hidden and scroll depending upon route.