fix scrolling issue for .sw block