added app window alignment