I would suggest simply create a fixed `li` in index.html for displaying the pinned layout. Then we can get rid of expensive DOM manipulations here.