removed initial width for image to prevent flicker