Cleaned up the jumping code.