sets foldView hidden if contentView is visible