before frame experiment
working click to zoom and exit button
working next, prev buttons, problem with data update