Modified borders. Added boolean for scrollbars.