fixed pic zoom function