Un-inline avatar toggling javascript