added camera centering feature on image click