start switch to mobile
fixed comporator (did not work in IE and Safari)