adapt smoothscroll to have :target working