Delete photo function finished. Also edit carousel button only appears if there are no photos