Substracted padding variables to bottom and top container

* Fixed issue with that adding padding makes pinned element overlap
container