separate up and downward movement