added scrolling and resized component