change the singleton implementation

also finished the show and share swipe image