Bug #708682 - Move with 'End' key with collapsed threads fails

This reverts part of commit 452638466217dbfef0c0954c90aa7cb03cf91452