corrected issue by adding code from issues list to re-order the views