added missing css class
fixed filtering/ selecting

* fixed allData to be the sum of all granularities