acceleration functions, working out bug with directional navigation