fix issue where scroll up button doesn't work after clicking menu logo