Move pageNum variable assignment to beginning of /overview route