Fixing bugs for the openning of the left menu