Did you thoroughly test this?  Ensuring it works on browser and all browsers during resize etc.

Prolly worth including a test spec for this I guess.  There might already be one :)