Mobile layout and api working