Add directives that show top/bottom shadow for elements