I\'ve haven\'t done css in several month so I might miss something simple, but whatever the solution is, I couldn\'t figure it out. So here is the problem.
Here is simpl
Here's a fix that does not requires Javascript or moving anything. Just add a Parent wrapper with the width and height of #wrapper.
Test
Please also see my live example: http://jsfiddle.net/ovjdqj4o/