add an option to add the active class on focus