Fixed a recursive import
Smoothed movement with acceleration and friction