added touch events
fix: caption bug

text appearing vertically in the page before image