Added preferences for background, border color.
Added preference for transition duration.