ui bugfix for ios7