configure masonry image display on user show page and add turbolinks jquery