make this work in tablet/mobile