made a commonInit function that both initWithCoder and initWithFrame uses to enable this class to be instantiated in Nibs