window can be shown on center of the screen