remove border radius when it's not both ends in panel