Hi guys
I have spent all day on this and the answer is much more simple having read a great blog.
What I want is Imac + apple mouse + apple keyboard to flip between imac and mac book pro in clamshell mode and vice versa
The solution is neat
Power off both the macbook pro and the imac
Have thunderbolt cable connected between the imac and macbook pro
Hold the T key down while booting up the macbook pro which will take it into thunderbolt disk mode
(You will see a lightening symbol on the screen) - once you have this you can shut in clamshell mode
Hold the OPTION key while booting up the imac - keep holding OPTION key until set of disks appear on screen
This will provide a choice of disks - select the macbook pro disk
This will now boot up the imac processor and memory, the macbook pro disk and the apple wireless mouse and keyboard will operate the macbook pro
To go back to Imac simpley shutdown and power up without OPTION button.
To go back to Macbook Pro shutdown and power up with OPTION button.
cheers