time slider adjusted to get current time