refactor _marquee_calcDistance

Issue: ENYO-696
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)