improved lightbox layers

Isn't it strange to have hardcoded values in this setTimeout and the one below? I'm presuming they're waiting for a transition to end? If you change the transition duration in the css you'd also have to change this, and above you're listening for transition end anyway? Let me know if I'm misunderstanding.