Added toggle reference lines option