Move rightbar from index to layut