added next/previous/close icons to the gallery modal