add onTop event