Only allow scrolls from the panel itself (or the center box)

Thanks to Yannick Voglaire for the suggestion & code
minor