Change 'positioned' to 'position'. Use only one removeattr on popover