changed some things
added fades and width adjustment and it doesnt crash anymore