Hide/show details on student grades page based on button state, rather than toggling
Hide/show details on student grades page based on button state, rather than toggling

Fixes CNVS-16899

Test plan:
- Create a course with at least two assignemnts
- Grade the test student of the course on both assignments
- Go to the gradebook and view the Test Student's grading details
- Select to see scoring details for Assignment 1
- Now select to "Show all Details" on the right hand side
- Notice that the scoring details for Assignment 2 will appear, but the already expanded scoring details for Assignment 1 will compress until you click to "Hide all Details"

Change-Id: I149cc064823f177c2569a6c8bf179aa5912d7b50
Reviewed-on: https://gerrit.instructure.com/44480
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Strand McCutchen <3926e7f2370f1e7814576250688185c598b36b91@instructure.com>
Reviewed-by: Josh Simpson <bfb4987b134a00f73d881fff5113b1d5fa1876bc@instructure.com>
QA-Review: Amber Taniuchi <ef4bfd1e6d278f6bc7d4a478f02be2cb9581a0a5@instructure.com>
Product-Review: Josh Simpson <bfb4987b134a00f73d881fff5113b1d5fa1876bc@instructure.com>

fronteerio/canvas-lms,jay3126/canvas-lms,shidao-fm/canvas-lms,leftplusrightllc/canvas-lms,tgroshon/canvas-lms,redconfetti/canvas-lms,snehakachroo1/LSI_replica,greyhwndz/canvas-lms,instructure/canvas-lms,Rvor/canvas-lms,sfu/canvas-lms,kyroskoh/canvas-lms,grahamb/canvas-lms,matematikk-mooc/canvas-lms,eCNAP/CANVAS,skmezanul/canvas-lms,dgynn/canvas-lms,djbender/canvas-lms,wrdsb/canvas-lms,HotChalk/canvas-lms,jay3126/canvas-lms,redconfetti/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,SwinburneOnline/canvas-lms,tgroshon/canvas-lms,jay3126/canvas-lms,kyroskoh/canvas-lms,dgynn/canvas-lms,jay3126/canvas-lms,snehakachroo1/LSI_replica,va7map/canvas-lms,whalejasmine/canvas-lms,SwinburneOnline/canvas-lms,utkarshx/canvas-lms,matematikk-mooc/canvas-lms,SwinburneOnline/canvas-lms,whalejasmine/canvas-lms,venturehive/canvas-lms,antoniuslin/canvas-lms,sfu/canvas-lms,wrdsb/canvas-lms,Rvor/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,AndranikMarkosyan/lms,roxolan/canvas-lms,va7map/canvas-lms,tgroshon/canvas-lms,Jyaasa/canvas-lms,dgynn/canvas-lms,narigone/canvas,roxolan/canvas-lms,roxolan/canvas-lms,wrdsb/canvas-lms,Jyaasa/canvas-lms,wrdsb/canvas-lms,ShreniiNepal/shrenii_lmp,juoni/canvas-lms,instructure/canvas-lms,sdeleon28/canvas-lms,snehakachroo1/LSI_replica,instructure/canvas-lms,shidao-fm/canvas-lms,samuels410/greatlakes-lms,venturehive/canvas-lms,sdeleon28/canvas-lms,sfu/canvas-lms,whalejasmine/canvas-lms,matematikk-mooc/canvas-lms,eCNAP/CANVAS,leftplusrightllc/canvas-lms,venturehive/canvas-lms,antoniuslin/canvas-lms,narigone/canvas,snehakachroo1/LSI_replica,samuels410/greatlakes-lms,matematikk-mooc/canvas-lms,venturehive/canvas-lms,Rvor/canvas-lms,tgroshon/canvas-lms,shidao-fm/canvas-lms,greyhwndz/canvas-lms,leftplusrightllc/canvas-lms,grahamb/canvas-lms,juoni/canvas-lms,instructure/canvas-lms,AndranikMarkosyan/lms,instructure/canvas-lms,HotChalk/canvas-lms,fronteerio/canvas-lms,ShreniiNepal/shrenii_lmp,AndranikMarkosyan/lms,antoniuslin/canvas-lms,skmezanul/canvas-lms,SwinburneOnline/canvas-lms,greyhwndz/canvas-lms,grahamb/canvas-lms,ShreniiNepal/shrenii_lmp,HotChalk/canvas-lms,Jyaasa/canvas-lms,djbender/canvas-lms,dgynn/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,greyhwndz/canvas-lms,AndranikMarkosyan/lms,whalejasmine/canvas-lms,sdeleon28/canvas-lms,efrj/canvas-lms,utkarshx/canvas-lms,efrj/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,fronteerio/canvas-lms,utkarshx/canvas-lms,narigone/canvas,sfu/canvas-lms,Jyaasa/canvas-lms,samuels410/greatlakes-lms,leftplusrightllc/canvas-lms,djbender/canvas-lms,kyroskoh/canvas-lms,roxolan/canvas-lms,instructure/canvas-lms,utkarshx/canvas-lms,sdeleon28/canvas-lms,Rvor/canvas-lms,fronteerio/canvas-lms,efrj/canvas-lms,antoniuslin/canvas-lms,eCNAP/CANVAS,va7map/canvas-lms,shidao-fm/canvas-lms,va7map/canvas-lms,kyroskoh/canvas-lms,efrj/canvas-lms,ShreniiNepal/shrenii_lmp,samuels410/greatlakes-lms,skmezanul/canvas-lms,juoni/canvas-lms,narigone/canvas,skmezanul/canvas-lms,juoni/canvas-lms,redconfetti/canvas-lms,grahamb/canvas-lms,eCNAP/CANVAS