Resize drawer & doc functions.