implemented working level viewport scrolling