Pass marginTop and marginBottom in constructor