initialize widthzoom variables correctly