Added a slider to see previous stats + fixed some bugs