Move styles out to stylesheet to make it hackable. Wrap image with and add event to target so flyout can be positioned anywhere.