resize horizontal components