take into account scroller bar width while resizing window
named event for resize