fix resizer for ios7