added styles for ul
repositioned li element in ul
code refactored