Auto scroll to top-level items when clicked on mobile