Completely refactor and fix timeslider