fixes mobile behaviour