add table control function

show past 4 days data in paginated table, differentiate ideal/non-ideal
in colors
Problem exists: change station, "previous" button doesn't work