add script to add margin to floated elements