refactor by doing stuff in css instead of js. dang my css sucked back then