move detection to timer