Issue/#9

Removes redundant css and fixes scope issue with resize function.