index.js - handle landing/feed switch