add 1px border to main window