adjusted window size and added scroll bar