Hide input and create input for mobile devices