fix bug with zooming and selected another image - add reset function