adjusting styling and behavior for lists