Change prev/next images to abutt main image
Added workaround for EXTRA_SHOW_FRAGMENT option