add more side padding so side shadow doesn't get cut off
optimize to remove duplicate code
add bottom extension to frame so the bottom shadow doesn't get cut off