closing button repositioning