Adding a time slider