update arrows only when visible