fix ui when user have both attending and teaching course
Merge pull request #320 from wangqiang1208/features/my_courses_fix

ui align fix for my_courses