add sass mixin and global js function for animating input icons/placeholders