changed display lenght to side