added the crop functionality back into the app.