improve subject list in teacher's page for better view in mobile