fix borderlayout autoscroll issue