only show scroll bar when necessary
fixed display of 3 dimensional 1 channel images