Add sharing functionality, proper resizing