I’m using Lightbox 2.51 and I can’t find a solution to move lb-dataContainer with close button and current image number etc to the top

I only found solutions for the old versions.
Code can be found here: http://lokeshdhakar.com/projects/lightbox2/releases/lightbox2.51.zip
The solution is to change outer container with data container: