remove un-needed stuff and refactor slider override