compatible with smaller browser sizes