Use translate to replace margin in discrete scrolling. Close #12.