Deleted unused files.
Restored resize functions.
Combined listeners into one function.