iPhone goes back to main screen by itself...

Oct 24, 2007
Sometimes when browsing the web or using the iPod feature, my iPhone will just go black for a second and then go to the main screen. Is there some touch command I'm doing to do this or is this some kind of defect? Thanks in advance.