Updated graph to use dates on the x-axis. Added some simple logic for page switching