created a amplitude controls class
fixed plots not being centered properly