Updating flocus to accept a selector instead of being global