updated simulation widget to hide and show slider