- Updated styles
- Taking div margins into account
- Added option to specify offsets