called the morrison formation for a small town southwest of denver where the first dinosaur skeleton was found here in 1877 , the graveyard lies on either side of the rocky mountains from idaho south to new mexico .