corrected expanding/scrolling if swatch is already expanded