added focus to enable touch screen function