Revert "Edit CurrentPage Function"

This reverts commit 3bdddbcbf3c31d632cfd004ee5d6e089d528f565.