dropdown fix for hide/show on click