allow chains for fitTo

This fix allows chains to be passed to 'fitTo'.