Added visibility based on viewport and removed old Mixpanel actions