added proper zoom

now centers the zoomed part