fix for toggle dropdown borders bug