changed positioning of close button