decrease form height on touch screens, js to separate file