clean up nav shrink calculation