Perché perché perché

Have you ever wondered how the earth stays in orbit around the sun? I mean, the pull of gravity is stronger the closer you are to the sun, so you'd think that if the earth got bumped slightly...