tidy mani.js and CSS fix for tablet and  mobile