New visualizer
Added code for smartphone