implemented switch_items and improved the tween lib