reset border after un-minimized