fixed the full-width issue in rotjs library