fixes firefox onclick scrolling