reformat code to conform to code standards
clean up with ayi
clean up with ayi
clean up '}else' with ayi
cleanup '){' with ayi
clean up
hide page up/down control when we should