implemented click on the rear view controller