adding scalebar support in both standard and big image viewers