added resize event, will rerun Trip.js fixed #17