FIX: prevent share-view being clipped at viewport bounds

Prevents the share view popup from being clipped when the associated post is near the edge of the viewport. This is especially problematic in the mobile layout and in the desktop layout whenever a post is scrolled close to the header.