Optimize form for mobile device