Resizing scrollbar. Added support for bottom margins.