CHANGED:applied remove the window border function