Trying to fix the refresh issue with sortable... code will need cleanup!