a functional layout for mobile