fix goToPageButton doesnt work well with mouse operation