Now save the panels at a certain position and hand the id of that position over to the move function which will set the temp_pan pointer each frame to the panel at that position and move it then using the temp_pan pointer.
Im not entirely sure of what your saying here? Maybe its how you said it that is confusing me or I am just not good enough to understand what I am supposed to do. If you could write it out that would be great.