reindent code
ios cosmetic change
ios support auto hide