In iOS 7, folders can contain multiple pages of apps. When closing a folder, it zooms back to its place on the home screen. However if a folder is closed while not on the first page of apps, it zooms back to its place and then animates a transition back to the first page of apps.
[thanks Shawn Platkus]