Added a lot of functionality to ui.js. fade efects, responsiveness on resize event, and more!