It’s not clear to me why Apple does this at all. If I launch an app from the fifth home screen, is it highly likely that the next app I want to launch is also on that home screen? If I launch an app from inside a folder, is it highly likely that the next app I want to launch is also inside that folder? Probably not. So why not just send me to the first home screen when I hit home? That way, I always know where I end up when I hit «home».

ignore the code: The iPhone’s Home Button.