Added sharing functionality to the single image view