made alpha and z-index working