Fixes variable image width bug

closes #95
 - added onload event listeners to images