Only add bottom border when minimized