refactored the stats_page variable to view_stats for clarity

Signed-off-by: Bebe Peng <bebepeng@gmail.com>