making layout more responsive