The science behind making your closet work for you.