making command ui narrower for smaller screen