use ansi.clear_screen in top-like sample scripts

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>