added direction for an ul