Fixed #1482 error windows should have a scroll bar

I have fixed "#1482 error windows should have a scroll bar". Please check and approve. I'm still new to this