add media gallery caption
finalize media gallery caption styles and js
add active class to first thumbnail media gallery