added scroll bar if overflow occurs