Fixed several width and animation bugs.