replace currentPage with model Position