Removed redundant animation calls for adjusting height and width, thereby hopefully removing a bug.