Repaired show and hide sidebar