Added initial code for ios toggle; Animation not quite right yet;