A random walk description of individual animal movement accounting for periods of rest