added category selection to stats.html