made resizer retina friendly and removed magic numbers for sizing