diff -r 8da13562cfea -r ee1d1e4fcf45 src/js/widgets/arrowWidget.js --- a/src/js/widgets/arrowWidget.js Fri Nov 25 15:14:19 2011 +0100 +++ b/src/js/widgets/arrowWidget.js Fri Nov 25 16:55:48 2011 +0100 @@ -40,6 +40,11 @@ var totalWidth = this.selector.width(); var correction = ((27 / 2) / totalWidth) * 100; var corrected_percents = percents - correction; + + /* don't move out of the screen */ + if (corrected_percents <= 0) + corrected_percents = 0; + this.selector.children(".Ldt-arrowWidget").animate({"left" : corrected_percents + "%"}); this._oldAnnotation = currentAnnotation;