fixing image layout issue