Added day change and improved click detection.

-Added a day change that checks the currently displayed day vs the first
and last days in the code (For now not dynamic). It then updates the
graph.
-Made click detection function use the variables that are noted. Makes
it easier to edit and also decreases the amount of functions
-Added 30/6/2014 scoreboard (I'm number one :D)