Rotary mechanism on the sliding armrest