switch widget with existing view