add js functionality to expand post images on click