added: if at end floor forget your direction