implemented direction indication as far as possible
not tested on mobile device