fix the bug of character panels to scroll properly without empty space on top and bottom of panel bar
fix the scrolling of select panel in create group dialog box
change the code of using Math.abs on diff instead of in remainder and multiple