Fixes to CSS and re-size script