added settings button and toggle for right menu