corrected a page & nav shift upon modal click