Revert "Generating and setting default layout parameters to pinnedView"

This reverts commit 2640017de786a1b818d0fb208e90536903948044.
Revert "Revert "Generating and setting default layout parameters to pinnedView""

This reverts commit b866ffb9e40fca6cd7bbf925e95903df3c781b9e.