Updated Responsive Code with offset