Measuring threshold and latency of motion perception on a swinging bed