New segment showing position of current view

Solves #539

The test I added is very basical, because… I think the code for testing should not be more complicated than the code actually tested.