[BUGFIX] Show and hide arrow correctly in page tree