Toggle on window enter leave

Follow WinEnter and WinLeave events toggle relativenumber correctly.