Dropdown menu acting crazy

Hello everyone,:beer:

(Dropdown menu problem) When you go to click on the first dropdown button or seconded it scrolls down, Then when you go back to click on it for it to scroll up it does. (Here is where it gets strange) Now when you go back and click on the same button that scrolls down and up, It quickly pops down and up. It does not scroll down. I’ve tried to figuring it out myself but ended up making it whose and making a mess.

Ive attached the file if anyone figure it out.

Thank you