added manual option and fixed carousel sliding when it shouldnt if manual flag is set