set cursor to bar