Use percent width/top for style, duration edit

deleted more code than added :) :100: