implemented time slider