added photomanager and popoutmenu