You must be registered for see images
The epilogue was one big dream. The hint is made here when Sasuke looks at that tree and becomes concerned/worried about something, the tree is symbolic for the shinju tree. Although Sasuke and the entire world for that matter, are trapped in infinite Tsukiyomi, deep within Sasuke's subconscious he is aware of this and is desperately trying to warn himself that all is not as perfect as it seems.
Naruto experiences something similar in his dream, there are a few warning signs. His troublemaking son, the jolly roger on the Hokage's statues, the crude writing on the Hokage's statues. Even though he's dreaming, these are signposts he has created via his subconscious to warn himself that this is a bad dream. Either that or Madara is manipulating his dream and is taunting him via Bolt.