added arrows and viewport visibility detection