fixing html, removing legacy css, adding resize bind