added orientationchange and resize listeners; made the spring animation
also trigger on the caption container;