fix duplicates when orientation-change occurs (#32)