added margin auto correct to carousel

Fixes #67