reverse chronological order of activities
infowindow call must be in a function in order to satisfy closure property