Implementing Scroll on diagram panel