Edited the layout of index and scratchpads views