cypress: Fix flaky tests related to sidebar
Set sidebar state (collapsed / expanded) once css animation has finished
in order to make associated cypress test reliable.
Also set "enableRemember" option from adminlte PushMenu and remove custom
code that was doing the same operation as it is not needed anymore