make graph scrollable & date sensitive