added masonry.js to gallery single