Resistive-sensetive algo improved, some css class refact