add disabling and enabling sliding menu