Added dynamic changing for handlebar

see summary