mobile support - a bit hacked but it is now usable on mobile devices