Code to display the time slider for all layers with time extents.
Time slider appears whenever relevant.
Merge pull request #12 from DVAlhadeff/master

Time slider / Script Version