added Resizer
implemented resizer