condiions for slider made need to style better and allow viewing images while editing and deleting images from editing section