Added support for Z-index
Disable animation if jquery effects are disabled