clicking a method now scrolls to it