more UI stuff on TripView. added a carousel to each post, factored out some functions in Util.js