added switch view feature with mediaobjects mode