modify pre/next button positions