layout changes, socket gets removed after navigate