phantomjs capture: select an element, find size and resize window around it for screen shot