added behavior to tabs
fixed menu behavior