added transforming for mobile view and other small fixes