Prevent Xcode windows from exiting fullscreen after wake from sleep?
Disabling the animation
This part of your question has been covered earlier. Unfortunately without success of finding a fitting answer.

Unfortunately (at least as of 10.7.1) there does not appear to be a way to change any settings related to this animation.
I filled a bug for this with Apple. The Radar number is 10073864. I
would encourage you to also file the report at
https://bugreport.apple.com/. Note in your description that it is a
duplicate of the above bug report number to help the support staff
categorize and prioritize this bug.