Updated javascript to not calculate margins on expose highlight.