Fixed some issues with resizing and relative css paths