insert tooltips and optimize positions.css insert smartphone and max devices behaviors