fixing helpers on small media
speeding up works appear after append
moving gallery functions out from Transition.serie.js
fix unexpected token
perfecting transitions