fixed moveTo, fit and setWindow. Improved animation smoothness