Visual bug fixes

Javascript file to make images respond to frame size to follow soon