created mobile version, refactored a lot