reducing image size  - fixing transitions