Replaces likes with share on mobile devices since share dialogue appears outside of window