add detail page fold function fix edit page