Ensuring functional parity between mobile and desktop viewports