make currentPage property writable