add slider pos relative for effects