added optional position argument to fit command

For cropping not only from center.