added dynamicLastSlide feature to automatically adjust the date of the
last slide (dynamic means, always today)