made negative overflow dropdown work properly