Stats histogram functionality working

TODO: when clicked on course in the list, there are lags on eventHandler
so next click would actually update course grid