Fix popup slidebar visibility behaviour
0.5.2