Fix spacing and styling, also avoid dragging images when swiping in gallery detail view