resetting page value when going from section to section