example: Bind back and close buttons visibility to fold

Directly bind whether the back button and the close button are visible
to whether the headerbar is folded.
1 job for folded in 2 minutes and 3 seconds