basic styling, structure, and js functionality for share