resolv layout webcam show depending on referrer