implement ui folding for admin section

implement ui folding for admin panel options.

fix handling of hidden fields in jquery validate

make publish section unfolded by default