small tweak to movement calc, now based on height of image