big update

made everything work for mobile