I'm facing a small curious problem with my "go to top" button.
When I'm clicking on the button for the first time it is going down and appears (let's say) 30px below and then when I click on it again the expected behavior is working.
I checked the default code with the inspect function from my chrome browser and I cannot figure out what the problem is. Nothing seems to be wrong with css.
Thank you very much for your help.