First mobile version with ratchet - fixed infinite loop