Refactored as a jQuery plugin!
Added un-minified uikit source css and js just in case I feel like modifying it later.