move to em and add some partial mobile support