problem with scroll bars

when you have text the overflows horizontally and you click on the scroll bar it jumps to the far right and selects text in the code mirror object when you let go of scrolling and move the mouse up. Any ideas how to fix this?

Please note that this component extends Panel using "Easy" namespace. Replace that with whatever forks for you(eg: Ext.ux.?). Also note that it is tailored to run as a tab panel (see setTitleClass method), so you can also remove that if oyu don't need it.