More thoughtful unread-scroll code.