fix layout for ipad/add touch events