improved some screen movement relocation code