toggle portfolio if flash enabled