added getting next or previous images
better gallery view