Relocating the Specials Panel - Error with Matrix items

Hi, I have followed the instructions on the knowledge base article 508 for relocating the specials panel:

It works fine except for a matrix product, upon choosing an attribute the specials panel reappears at the top of the page.
Any ideas anyone?